package com.jar.exercise.集合和数据结构.LinkedHashSet;

import java.util.HashSet;

/**
 * @author ZhangShengHao
 * @className Demo
 * @description TODO
 * @date 2020/2/26 15:33
 */
public class Demo {
	public static void main(String[] args) {
		HashSet<String> list = new HashSet<>();

		list.add("1");
		list.add("3");
		list.add("2");
		list.add("4");
		for (String s : list) {
			System.out.println(s);
		}
	}
}
